import request from "@/utils/request";

// 分页查询白名单列表
export function findShopRoster(query) {
  return request({
    url: "/shopRoster/findShopRoster",
    method: "get",
    params: query,
  });
}

// 移除白名单
export function deleteShopRoster(data) {
  return request({
    url: "/shopRoster/deleteShopRoster",
    method: "post",
    data: data,
  });
}

// 查询监测区域信息
export function getShopRoster(id) {
  return request({
    url: "/shopRoster/getShopRoster/" + id,
    method: "get",
  });
}
